package com.sf.rbac.service;

import com.github.pagehelper.PageInfo;
import com.sf.rbac.domain.Department;
import com.sf.rbac.qo.QueryObject;

import java.util.List;

public interface IDepartmentService {
    void delete(Long id);

    void saveOrUpdate(Department department);

    Department info(Long id);

    List<Department> listAll();

    PageInfo<Department> query(QueryObject queryObject);
}
